package com.qidian.buy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author 郭浩
 */
public class Specifications implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String specificationsName;

    private String specificationsText;

    private Date created;

    private Date updated;

    private Integer status;
    @TableField(exist = false)
    private List<SpecificationsItem> specificationsItems;

    @TableField(exist = false)
    private List<Item> itemList;

    public List<SpecificationsItem> getSpecificationsItems() {
        return specificationsItems;
    }

    public void setSpecificationsItems(List<SpecificationsItem> specificationsItems) {
        this.specificationsItems = specificationsItems;
    }

    public List<Item> getItemList() {
        return itemList;
    }

    public void setItemList(List<Item> itemList) {
        this.itemList = itemList;
    }

    public String getSpecificationsText() {
        return specificationsText;
    }

    public void setSpecificationsText(String specificationsText) {
        this.specificationsText = specificationsText;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getSpecificationsName() {
        return specificationsName;
    }

    public void setSpecificationsName(String specificationsName) {
        this.specificationsName = specificationsName;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
